
Ext.define('Sencha.model.Stem', {
    extend: 'Ext.data.Model',
    config: {
        fields: [
                 { name: 'id', type: 'int', fieldOption: 'PRIMARY KEY' },
                 { name: 'stem', type: 'string'},
                 { name: 'inflectionType', type: 'string' }
        ],
        
        proxy: {
           type: 'sqlitestorage',
           dbConfig: {
           		tablename: 'STEM',
           		dbConn: Ext.DbConnection
           },
           reader: {type:'array'}
        
        }
    },
    writer: {
    	type: 'array'
    }

});
